package com.oauth.service.application.global;

import java.util.List;
import java.util.Set;

import com.oauth.service.application.global.beans.Birthday;

/**
 * Inteface for all global actions.
 * 
 * @author asanthan
 * 
 */
public interface GlobalService {

	/**
	 * Method for global status update. It internally calls updateStatus of each
	 * app id from the Set passed as param.
	 * 
	 * @param pMemberId
	 * @param pAppIds
	 * @param pStatusText
	 * @return
	 */
	boolean updateStatus(Long pMemberId, Set<Long> pAppIds, String pStatusText);

	/**
	 * Method to get upcoming birthdays.
	 * 
	 * @param pMemberId
	 * @param pAppIds
	 * @return
	 */
	List<Birthday> getUpcomingBirthdays(Long pMemberId, Set<Long> pAppIds);
}
